Conditions when corporeal punishment is accorded